package com.sc.nft.entity.vo;

import lombok.Data;

import java.math.BigDecimal;
import java.math.RoundingMode;

@Data
public class MallUserWalletBalance {
    private String balance;

    public void setBalance(BigDecimal balance) {
        this.balance = balance.setScale(2, RoundingMode.DOWN).toPlainString();
    }
}
